package com.tianjin.design.chainofresponsibility;


public class ThreeLeaderHandler extends LeaderHandler{
    @Override
    public void handler(Request request) {
        if (request.getDay() >= 10) {
            System.out.println("总经理处理审批请求："+ request.toString());
        } else {
            // 当前级别处理不了，就将请求丢给上级去处理
            System.out.println("总经理无法处理审批请求，流程结束");
        }
    }
}
